var url= window.location.href;
var parameter = url.split("=")[1];
receive(parameter);
function receive(parameter) {
    $.post("http://www.brandt-beer.com/app/appuser/getAppUser",
        {SESSION_ID:parameter},function (data) {
            var date= data.data;
            document.getElementById("cafe").innerText=date.FOODSHOPNUM+"罐";
            document.getElementById("communityStore").innerText=date.COMSHOPNUM+"罐";
        })
}
//消费记录
function consumptionRecords() {
    window.location.href="./consumptionRecord/consumption.html?session="+parameter
}
//领取记录
function receiveBeer() {
    window.location.href="./receiveRecord/record-get.html?session="+parameter
}
//关于博兰特啤酒
function beerAbout() {
    window.location.href="./aboutBeer/about.html?session="+parameter
}
